trigger AssignmentSaleDetailTrigger on AssignmentSaleDetail__c(before insert,before update) {
    AssignmentSaleDetailHandler.matchdata(trigger.new);
}